package org.springcloud.wisdom.springcloud_03_freshman.student.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 物品表（学生领取物品表）
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("goods")
public class Goods {
    //学号
    @TableField("wisdom.goods.sid")
    private String sid;
    //姓名
    @TableField("wisdom.goods.sname")
    private String sname;
    //性别
    @TableField("wisdom.goods.gender")
    private String gender;
    //卡号
    @TableField("wisdom.goods.cardid")
    private String cardid;
    //所属院系
    @TableField("wisdom.goods.dept")
    private Integer dept;
    //与宿舍表的主键 这是外键
    @TableField("wisdom.goods.dorid")
    private Integer dorid;
    //领取时间
    @TableField("wisdom.goods.receiveDt")
    private String receiveDt;
    //领取物品类型
    @TableField("wisdom.goods.detail")
    private String detail;
    //领取物品详情
    @TableField("wisdom.goods.content")
    private String content;
    //领取物品状态
    @TableField("wisdom.goods.receiveStatus")
    private String receiveStatus;
}
